#{extends 'front_main.html' /}
  <!-- banner部分 -->
  <div class="banner news">
    <div class="title">
      <p>JAVACMS 实时新闻</p>
      <p class="en">Real-time News</p>
    </div>
  </div>
  <!-- main -->
<form class="layui-form layui-col-md12 x-so" id="form1" action="/FrontCenter/news">
    <input type="hidden" id="currPage" name="currPage"/>
    <input type="hidden" id="pageSize" name="pageSize"/>
</form>
  <div class="main-news">
    <div class="layui-container">
      <div class="layui-row layui-col-space20">
      #{list pageBean?.page}
        <div class="layui-col-lg6 content">
          <div>
            <div class="news-img"><a href="/FrontCenter/news_detail?id=${_?.id}&am=${request.actionMethod}" alt="&{'tag_title'}" title="&{'tag_title'}">
              #{if _?.filename==""}
                  <img src="/public/assets/res/static/img/news_img1.jpg" width="184px" height="142px" alt="&{'tag_title'}" title="&{'tag_title'}">
              #{/if}
              #{else }
                  <img src="/FileController/images?uuid=${_?.filename}" width="184px" height="142px" alt="&{'tag_title'}" title="&{'tag_title'}">
              #{/else}
            </a></div><div class="news-panel">
              <strong><a href="/FrontCenter/news_detail?id=${_?.id}&am=${request.actionMethod}" alt="&{'tag_title'}" title="&{'tag_title'}">${_?.title}</a></strong>
              <p class="detail"><span>${_?.summary}</span><a href="/FrontCenter/news_detail?id=${_?.id}&am=${request.actionMethod}" alt="&{'tag_title'}" title="&{'tag_title'}">[详细]</a></p>
              <p class="read-push">阅读 <span>${_?.read_count}</span>&nbsp;&nbsp;&nbsp;&nbsp;发布时间：<span>1天前</span></p>
            </div>
          </div>
        </div>
      #{/list}
      </div>
      #{page currPage:pageBean?.currPage,totalCount:pageBean?.totalCount,pageSize:pageBean?.pageSize,theme:2,style:1 /}
    </div>
  </div>
<script>
    /* 条件搜素查询 */
    function showPage(currPage, pageSize){
        $("#currPage").val(currPage);
        $("#pageSize").val(pageSize);
        $("#form1").submit();
    }
</script>
  <!-- footer部分 -->